package state.fromCsdn;

public class Test {

    public static void main(String[] args) {
        Account acc = new Account("乔峰", 1000.0);
        acc.withdraw(5000.0);
        acc.deposit(1000.0);
        acc.withdraw(2000.0);
        acc.deposit(3000.0);
        acc.deposit(4000.0);
        acc.withdraw(5000.0);
        acc.deposit(4000.0);
        acc.withdraw(2000.0);
        acc.deposit(4000.0);
        acc.withdraw(1000.0);
        acc.computeInterest();
    }
}
